package com.xyhy.starter.mfx.annotation;

import com.xyhy.core.base.Strings;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataPermission {

  String table();

  String column() default Strings.EMPTY;

  EMfxDataPermType type();

  boolean exemptAdmin() default true;
}
